// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov  Date: 2009-10-26 21:59:33


// Source File Name:   IF_ICMPGT.java

package com.vhly.classfile.bytecode;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

// Referenced classes of package com.vhly.classfile.bytecode:
//            BaseCode, OffsetCall

public class IF_ICMPGT
        implements BaseCode, OffsetCall {

    private int offset;
    private int index;

    public IF_ICMPGT() {
    }

    public String getName() {
        return "IF_ICMPGT";
    }

    public int getOp() {
        return 163;
    }

    public int length() {
        return 3;
    }

    public void read(DataInputStream din)
            throws IOException {
        index = din.readShort();
    }

    public void write(DataOutputStream dout)
            throws IOException {
        dout.write(163);
        dout.writeShort(index);
    }

    public int getOffset() {
        return offset;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int branch) {
        index = branch;
    }

    public String getDescrption() {
        String ret = "";
        return ret;
    }

    public void setOffset(int off) {
        offset = off;
    }

    public boolean isWide() {
        return false;
    }

    public int getBrenchOffset() {
        return index;
    }

    public void setBrenchOffset(int off) {
        index = off;
    }
}